package com.ithm;
import java.util.Random;
import java.util.Scanner;
public class Demo4 {
    public static void main(String[] args) {
        int e=max();
        System.out.println(max());
    }

    public static int max() {

        Random r=new Random();
        int a=r.nextInt(100);
        int b=r.nextInt(1000);
        int c=r.nextInt(10000);
        int d=(a > b ? (a > c?a:c ) : b > c?b:c);
        return d;

    }
}